package com.web.demo.demo;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Collection;

/**
 * @author sw
 * @create 2023-05-19 9:09
 */
public abstract class AbstractCubbyHole<T> {
    private final static Logger logger = LoggerFactory.getLogger(AbstractCubbyHole.class);
    /**
     * 保存对象
     * @param value
     * @return
     */
    public abstract boolean put(final T value);

    /**
     * 保存对象
     * @param values
     */
    public abstract void putAll(final Collection<T> values);
}
